﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core;
using COFE.Core.Utils;
using COFE.Core.Lister;

namespace COFE.Core.Profile
{
    public class AdminUserProfile : IUserProfile
    {
        public static string AdminUserName = "cofeadmin";

        #region Constructor

        public AdminUserProfile()
        {
            UserName = AdminUserName;
            File = new FileServices(this);
            Directory = new DirectoryServices(this);
            Volumes = new AllVolumeManager(this);
            EntryListManager = new EntryListManager(this);
        }

        #endregion

        #region Methods

        #endregion

        #region Data

        #endregion

        #region Public Properties

        public string UserName { get; private set; }
        public IFileServices File { get; private set; }
        public IDirectoryServices Directory { get; private set; }
        public IVolumeManager Volumes { get; private set; }
        public ITempManager TempManager { get { return Volumes.TempManager; } }
        public IDirectoryInfo ProfileRootDirectory { get { return COFEShared.PathParser.TryParsePath("", ParsableType.ParsePath) as IDirectoryInfo; } }
        public IEntryListManager EntryListManager { get; private set; }


        #endregion

    }
}
